﻿using System;
using DDDNorthWind.Core.Message;

namespace DDDNorthWind.Core.Bus
{
    public interface IFluentBusAsync<TMessage>
        where TMessage : IMessage
    {

        IFluentBusAsync<TMessage> SetTimeOut(int milisegundos, Action onTimeOut = null);

        void Send();
    }
}